<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="com.jd.ty.pojo" >
	<class name="ProjectAttribute" table="PROJECT_ATTRIBUTE" schema="TYMS">
		<id name="attrId" type="java.lang.Long">
			<column name="ATTR_ID" precision="10" scale="0" />
			<generator class="identity">
			</generator>
		</id>
		<property name="attrName" type="string">
			<column name="ATTR_NAME" />
		</property>
		<many-to-one name="projectType" class="Dictionary" fetch="select"
			lazy="false">
			<column name="PROJECT_TYPE_ID" precision="10" scale="0" />
		</many-to-one>
		<property name="outputType" type="byte">
			<column name="OUTPUT_TYPE"  default="0"/>
		</property>
		<property name="validate" type="string">
			<column name="VALIDATION_RULE" />
		</property>
		<property name="cssClass">
			<column name="CSS_CLASS"></column>
		</property>
	</class>
</hibernate-mapping>
